package com.spic.business.violation.supervision.speed.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.violation.supervision.speed.domain.ViolationsVehicleManagement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 车辆管理Mapper接口
 *
 * @author yangjie
 * @date 2021-10-12
 */
@Mapper
public interface ViolationsVehicleManagementMapper extends BaseMapper<ViolationsVehicleManagement>
{
    /**
     * 查询车辆管理
     *
     * @param id 车辆管理主键
     * @return 车辆管理
     */
    public ViolationsVehicleManagement selectViolationsVehicleManagementById(String id);

    /**
     * 查询车辆管理列表
     *
     * @param violationsVehicleManagement 车辆管理
     * @return 车辆管理集合
     */
    public List<ViolationsVehicleManagement> selectViolationsVehicleManagementList(ViolationsVehicleManagement violationsVehicleManagement);

    /**
     * 新增车辆管理
     *
     * @param violationsVehicleManagement 车辆管理
     * @return 结果
     */
    public int insertViolationsVehicleManagement(ViolationsVehicleManagement violationsVehicleManagement);

    /**
     * 修改车辆管理
     *
     * @param violationsVehicleManagement 车辆管理
     * @return 结果
     */
    public int updateViolationsVehicleManagement(ViolationsVehicleManagement violationsVehicleManagement);

    /**
     * 删除车辆管理
     *
     * @param id 车辆管理主键
     * @return 结果
     */
    public int deleteViolationsVehicleManagementById(String id);

    /**
     * 批量删除车辆管理
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViolationsVehicleManagementByIds(String[] ids);
}
